<?php 
    require_once('inc/conn.php');
$time=time();
    $sql="UPDATE biao SET
         insert_name='".$_POST['name']."',
         insert_title='".$_POST['title']."',
         insert_content='".$_POST['content1']."',
         insert_phone1='".$_POST['phone1']."',
         insert_phone2='".$_POST['phone2']."',
          update_time=".$time."
          WHERE id='".$_GET['id']."'
         ";
         if(mysql_query($sql)) {
             echo "<script>alert('修改成功！');window.location.href='xinwenlist.php';</script>";
         }else{
             echo "<script>alert('修改失败！');window.location.href='xinwenlist.php';</script>";
         }
mysql_close($conn);
 ?>